package service.serviceimpl;

import dao.GoodstypeDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pojo.GoodsType;
import service.GoodsTypeService;

import java.util.List;

@Service
public class GoodsTypeServiceimpl implements GoodsTypeService {

    @Autowired
    GoodstypeDao goodstypeDao;

    @Override
    public List<GoodsType> selectAll() {
        List<GoodsType> list = goodstypeDao.selectAll();
        return list;
    }
}
